
module.exports = {
    devServer: {
        host: '0.0.0.0',
        port: 3333,
        open: true,
        disableHostCheck: true,
        proxy: {
            '/admin': {
                target: 'http://pseim_v2.test',
                changeOrigin: true,
                pathRewrite: {
                    '/admin': '/admin'
                }
            },
            '/uploads': {
                target: 'http://pseim_v2.test',
                changeOrigin: true,
                pathRewrite: {
                    '/uploads': '/uploads'
                }
            },
            '/api': {
                target: 'http://pseim_v2.test',
                changeOrigin: true,
                pathRewrite: {
                    '/api': '/api'
                }
            }
        }
    },
    outputDir: '../public/dist',
    assetsDir: 'static',
    productionSourceMap: false,
    parallel: false,
    publicPath: './'
}
